import Vue from 'vue'
import App from './App.vue'
import router from '@/router.ts'
import 'element-ui/lib/theme-chalk/index.css';
import ElementUI from 'element-ui';
import CommonPlugin from "@/plugins/common";
import DirectivesPlugin from "@/plugins/directives";
import FiltersPlugin from "@/plugins/filters";
import VJForm from "@/components/vj-tool";
import {BACKEND_PATH, PURE_BACKEND_PATH} from "@/config/properties";

Vue.use(ElementUI)
Vue.use(CommonPlugin)
Vue.use(DirectivesPlugin)
Vue.use(FiltersPlugin)
Vue.use(VJForm, {uploadPath: `${BACKEND_PATH}/sys/common/uploadFile`});
Vue.config.productionTip = false;
new Vue({
    router,
    render: h => h(App)
}).$mount('#app')
